package com.example.weblending.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.weblending.domain.ApplyCondition;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.weblending.domain.User;
import com.example.weblending.vo.AnalyzeColumn;
import com.example.weblending.vo.CsvInputColumn;
import org.springframework.scheduling.annotation.Async;

/**
* @author Administrator
* @description 针对表【apply_condition】的数据库操作Service
* @createDate 2023-05-01 19:36:24
*/
public interface ApplyConditionService extends IService<ApplyCondition> {

    Page<ApplyCondition> getList(long page, long limit, User user);

    Page<ApplyCondition> getHistory(long page, long limit, User user);

    Page<ApplyCondition> getApprove(long page, long limit, User user);

    ApplyCondition apply(CsvInputColumn condition, User user);

    boolean setState(int id, int state, User user);

    boolean refresh(String id, User user);

    void refreshAsync(ApplyCondition applyCondition);

    boolean delete(int[] ids, User user);

    Page<ApplyCondition> getExamine(long page, long limit, User user);
}
